package com.happy_lab_management.demo.admin.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.happy_lab_management.entity.Technician;
import com.happy_lab_management.demo.admin.user.mapper.TechnicianMapper;
import com.happy_lab_management.demo.admin.user.service.TechnicianService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TechnicianServiceImpl extends ServiceImpl<TechnicianMapper, Technician> implements TechnicianService {
    @Autowired
    private TechnicianMapper technicianMapper;
    public Technician selectByUserId(Integer userId) {
        return technicianMapper.selectByUserId(userId);

    }
}
